# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-ruamel.yaml.clib
_pyname=ruamel.yaml.clib
pkgver=0.2.7
pkgrel=1
pkgdesc="C version of reader, parser and emitter for ruamel.yaml"
url="https://sourceforge.net/projects/ruamel-yaml-clib/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
options="!check" # tests aren't on PyPI, Sourceforge downloads disappeared
source="https://files.pythonhosted.org/packages/source/r/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	export RUAMEL_NO_PIP_INSTALL_CHECK=1
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
b752b17ddf5da99fa6ee18b0ed1836da9a5c3dc58ab8b326d7aa97f6e4daadb298a2f149d79a650ab0326f52873aee6b1bc68cdaeb59465b4fafce49553ce69e  ruamel.yaml.clib-0.2.7.tar.gz
"
